<div app-header class="" left='' center='我的收货地址' right='' white='true' isapp='isapp'></div>
<header class="mui-bar mui-bar-nav mui-white" ng-show="!isapp">
    <!--如果left为空则显示返回按钮-->
    <a ng-click="goback()" class="mui-icon mui-icon-left-nav mui-pull-left"></a>
    <!--标题-->
    <h1 class="mui-title" ng-bind="'选择收货地址'"></h1>
    <!--右侧内容-->
    <button class="mui-btn mui-btn-blue mui-btn-link mui-pull-right" style="font-size: 0.3rem"  ng-bind="'管理'" ng-click="edAddress()"></button>
</header>
<div class="p-r address-main " ng-style="{top:isapp?'0px':'44px'}">
    <ui id="select-address-list" >
        <li class="address-item"  style="margin-top: 0 ;border-top:2px solid #f6f6f6 " ng-show="itemAddress"  ng-repeat="itemAddress in myAddressList">
            <div style="  padding: 0.36rem 0.3rem 0.2rem 0.3rem ;">
                <span ng-bind="itemAddress.consignee"></span>
                <div class="f-r" >{{itemAddress.phone|phoneX}}</div>
                <div ng-click="setProduct(itemAddress)">
                <div class="text-030-666 "  style="font-size: 0.286rem; width: 100%;margin: 0.18rem 0 0.18rem 0  "> <span ng-show="!itemAddress.isDefault" style="color: #F85C60">[默认地址]</span> <span ng-bind="itemAddress.provinceId+'  '+itemAddress.cityId+'  '+itemAddress.areaId+'  '+itemAddress.address "></span></div></div>
            </div>
        </li>
    </ui>
    <div   style="height: 2rem"></div>
    <div class="address-empty" ng-if="emptyList">
        <div class="di-f  flex-v flex-align-center "><img src="image/empty/empty_wuyonghu@2x.png"
                                                          style=" width: 82px;height: 97px;"/><br/>
            <p style=" color: #999999;   text-align: center;">尚未添加收货地址</p>
        </div>
    </div>

    <div class="exchange-bottom">
        <button id="to-exchange" class="circle-button" ng-click="toAdd()">
            添加地址
        </button>
    </div>
</div>
